import { Enum } from "cc";

export class Config{

    private static Instance : Config = null;

    static GetInstance(){
        if(Config.Instance == null){
            Config.Instance = new Config;
        }
        return Config.Instance;
    }
    // game and camera
    public GameWinX : number = 960;
    public GameWinY : number = 640;
    public MapMaxXBlockCnt : number = 1500;
    public MapMaxYBlockCnt : number = 1500;
    public MapBlockFixSize : number = 64;
    public MapInitI : number = 40;
    public MapInitJ : number = 40;
    // ai
    public MapCornerRect : number = 200;

}

// skill id
export enum SkillType{
    SurroundSkill,
    UnDefineSkill,
    BulletSkill,
    TrackSkill,
}